<!-- Top Navbar-->
<div class="navbar">
    <div class="navbar-inner">
        <div class="left">
            <a href="{{ action('Wx\UserController@getIndex') }}" class="link">
                <i class="icon icon-back"></i>
                <span>返回</span>
            </a>
        </div>
        <div class="center">配送地址管理</div>
        <div class="right">
            <a href="{{ action('Wx\UserController@getAddressAdd') }}" class="link">
                <i class="fa fa-plus"></i>
                <span>添加</span>
            </a>
        </div>
    </div>
</div>
<!-- /End of Top Navbar-->

<!-- Now we need additional "navbar-through" and "toolbar-through" classes on Pages -->
<div class="pages navbar-through toolbar-through">
    <div data-page="user-address" class="page contact-page">
        <div class="page-content">
            <div class="content-block-title">现有地址</div>
            <div class="list-block media-list">
                <ul>
                    @foreach($address as $v)
                        <li>
                            <a href="{{ action('Wx\UserController@getAddressEdit', ['id' => $v->id]) }}" class="item-link item-content">
                                <div class="item-inner">
                                    <div class="item-title-row">
                                        <div class="item-title">{{ $v->name }}</div>
                                        <div class="item-after">{{ $v->phone }}</div>
                                    </div>
                                    <div class="item-subtitle">{{ $v->code }}</div>
                                    <div class="item-text">{{ $v->address }}</div>
                                </div>
                            </a>
                        </li>
                    @endforeach
                </ul>
            </div>
        </div>
    </div>
</div>
